import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the DemoNavCatalogPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-demo-nav-catalog',
  templateUrl: 'demo-nav-catalog.html',
})
export class DemoNavCatalogPage {
  listData = [];
  constructor(public navCtrl: NavController, public navParams: NavParams) {
    this.listData = [
      { title: 'HttpPage', target: 'HttpPage' }
    ];
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad DemoNavCatalogPage');
  }
  gopage(pagestr) {
    this.navCtrl.push(pagestr);
  }

}
